package com.online.pay.web.service;

import com.online.pay.common.bean.ali.AliPayReqParams;
import com.online.pay.common.modle.TradeResult;

/**
 * 支付宝接口
 * @author Qiurz
 *
 */
public interface AliService {

	/**
	 * 创建预下单
	 * @param obj
	 * @return
	 */
	TradeResult createOrder(AliPayReqParams aliPayReqParams) throws Exception;
	
	/**
	 * 创建预下单并发支付结果通知
	 * @param obj
	 * @param notityUrl
	 * @return
	 */
	TradeResult createOrder(AliPayReqParams aliPayReqParams,String notityUrl) throws Exception;
}
